/*     */ package com.cr.system.domain;
/*     */ 
/*     */ import com.cr.common.annotation.Excel;
/*     */ import com.cr.common.core.domain.BaseEntity;
/*     */ import javax.validation.constraints.NotBlank;
/*     */ import javax.validation.constraints.Size;
/*     */ import org.apache.commons.lang3.builder.ToStringBuilder;
/*     */ import org.apache.commons.lang3.builder.ToStringStyle;
/*     */ 
/*     */ public class SysConfig extends BaseEntity {
/*     */   private static final long serialVersionUID = 1L;
/*     */   
/*     */   @Excel(name = "参数主键", cellType = Excel.ColumnType.NUMERIC)
/*     */   private Long configId;
/*     */   
/*     */   @Excel(name = "参数名称")
/*     */   private String configName;
/*     */   
/*     */   @Excel(name = "参数键名")
/*     */   private String configKey;
/*     */   
/*     */   @Excel(name = "参数键值")
/*     */   private String configValue;
/*     */   
/*     */   @Excel(name = "系统内置", readConverterExp = "Y=是,N=否")
/*     */   private String configType;
/*     */   
/*     */   public Long getConfigId() {
/*  41 */     return this.configId;
/*     */   }
/*     */   
/*     */   public void setConfigId(Long configId) {
/*  46 */     this.configId = configId;
/*     */   }
/*     */   
/*     */   @NotBlank(message = "参数名称不能为空")
/*     */   @Size(min = 0, max = 100, message = "参数名称不能超过100个字符")
/*     */   public String getConfigName() {
/*  53 */     return this.configName;
/*     */   }
/*     */   
/*     */   public void setConfigName(String configName) {
/*  58 */     this.configName = configName;
/*     */   }
/*     */   
/*     */   @NotBlank(message = "参数键名长度不能为空")
/*     */   @Size(min = 0, max = 100, message = "参数键名长度不能超过100个字符")
/*     */   public String getConfigKey() {
/*  65 */     return this.configKey;
/*     */   }
/*     */   
/*     */   public void setConfigKey(String configKey) {
/*  70 */     this.configKey = configKey;
/*     */   }
/*     */   
/*     */   @NotBlank(message = "参数键值不能为空")
/*     */   @Size(min = 0, max = 500, message = "参数键值长度不能超过500个字符")
/*     */   public String getConfigValue() {
/*  77 */     return this.configValue;
/*     */   }
/*     */   
/*     */   public void setConfigValue(String configValue) {
/*  82 */     this.configValue = configValue;
/*     */   }
/*     */   
/*     */   public String getConfigType() {
/*  87 */     return this.configType;
/*     */   }
/*     */   
/*     */   public void setConfigType(String configType) {
/*  92 */     this.configType = configType;
/*     */   }
/*     */   
/*     */   public String toString() {
/*  97 */     return (new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE))
/*  98 */       .append("configId", getConfigId())
/*  99 */       .append("configName", getConfigName())
/* 100 */       .append("configKey", getConfigKey())
/* 101 */       .append("configValue", getConfigValue())
/* 102 */       .append("configType", getConfigType())
/* 103 */       .append("createBy", getCreateBy())
/* 104 */       .append("createTime", getCreateTime())
/* 105 */       .append("updateBy", getUpdateBy())
/* 106 */       .append("updateTime", getUpdateTime())
/* 107 */       .append("remark", getRemark())
/* 108 */       .toString();
/*     */   }
/*     */ }


/* Location:              D:\tmp\creditorRights-admin\BOOT-INF\lib\creditorRights-system-4.7.0.jar!\com\cr\system\domain\SysConfig.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */